package com.chamei.aptdemo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;

import com.chamei.annotation.ARouter;
import com.chamei.annotation.BindView;
import com.chamei.annotation.HelloWorld;
import com.chamei.libaray.ButterKnife;

@ARouter(path = "abc")
public class MainActivity extends AppCompatActivity {
    @BindView(R.id.tv_hello)
    TextView textView;
    @BindView(R.id.btn_click)
    Button btnClick;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);
        btnClick.setText("Hello JavaPoet");
    }

    @HelloWorld(path="helloPath")
    public void testHello(){

    }
}
